using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class RemoveUserFromRecordTeamRequest : OrganizationRequest
	{
		public EntityReference Record
		{
			get
			{
				if (base.Parameters.Contains("Record"))
				{
					return (EntityReference)base.Parameters["Record"];
				}
				return null;
			}
			set
			{
				base.Parameters["Record"] = value;
			}
		}
		public Guid TeamTemplateId
		{
			get
			{
				if (base.Parameters.Contains("TeamTemplateId"))
				{
					return (Guid)base.Parameters["TeamTemplateId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["TeamTemplateId"] = value;
			}
		}
		public Guid SystemUserId
		{
			get
			{
				if (base.Parameters.Contains("SystemUserId"))
				{
					return (Guid)base.Parameters["SystemUserId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["SystemUserId"] = value;
			}
		}
		public RemoveUserFromRecordTeamRequest()
		{
			base.RequestName = "RemoveUserFromRecordTeam";
			this.Record = null;
			this.TeamTemplateId = default(Guid);
			this.SystemUserId = default(Guid);
		}
	}
}
